import {post} from '@/utils/http'

export function checkoutAPI(params){
  return post('/product/product-client/api/shoppingCart/checkout',params,{
      Headers:{
        'Content-Type':'application/json'
      }
  })
}

export function createOrderAPI(params){
  return post('/order/order-client/api/orderInfo/createOrder',params,{
      Headers:{
        'Content-Type':'application/json'
      }
  })
}
